//
//  KStoreAPI.m
//  Peanut
//
//  Created by Jim huang on 2018/4/11.
//  Copyright © 2018年 Jim_Peanut. All rights reserved.
//

#import "KStoreAPI.h"
// 轮播图
NSString* const KStoreBannersURL = @"api/biz/gl/v1/banners/lists.htm";
// 商城列表
NSString* const KStoreListURL = @"api/ec/sale/v2/saleEntitys/lists.htm";
// 分类列表
NSString* const KStoreClassesURL =@"api/biz/gl/v1/cates/lists.htm";
// 商品详情
NSString* const KStoreItemDetailURL =@"api/ec/sale/v1/saleEntitys/get.htm";
// 商品内容详情
NSString* const KGetItemexplainURL =@"api/biz/gl/v1/glTexts/get.htm";
// 购物车列表
NSString* const KStoreShopCarListURL =@"api/biz/ec/v1/cartItems/list.htm";
// 添加购物车
NSString* const KStoreAddShopCarURL =@"api/biz/ec/v1/cartItems/add.htm";
// 修改购物车数量
NSString* const KStoreChangeShopCarCountURL =@"api/biz/ec/v1/cartItems/update.htm";
// 删除购物车
NSString* const KStoreDeleteShopCarCountURL =@"api/biz/ec/v1/cartItems/delete.htm";
// 提交订单
NSString* const KStoreSureOrderURL =@"api/ec/so/v1/soEntitys/add.htm";
// 立即购买
NSString* const KStoreBuyNowURL =@"api/ec/so/v1/soEntitys/confireOrderData.htm";
// 立即拼团
NSString* const KStoreGroupBuyNowURL =@"api/ec/sale/v1/groupBuys/add.htm";
// 新增收货地址
NSString* const KStoreAddressAddURL =@"api/biz/ou/v1/addrs/add.htm";
// 修改收货地址
NSString* const KStoreAddressChangeURL =@"api/biz/ou/v1/addrs/update.htm";
// 删除收货地址
NSString* const KStoreAddressDeleteURL =@"api/biz/ou/v1/addrs/delete.htm";
// 收货地址列表
NSString* const KStoreAddressListURL =@"api/biz/ou/v1/addrs/list.htm";
// 设置为默认地址
NSString* const KStoreSetDefaultAddressURL =@"api/biz/ou/v1/addrs/updateDefault.htm";

// 收藏列表
NSString* const KStoreCollectionListURL =@"api/ec/product/v1/productLikes/list.htm";
// 添加收藏
NSString* const KStoreAddCollectionURL =@"api/ec/product/v1/productLikes/add.htm";

//订单列表
NSString* const KStoreOrderListURL =@"api/ec/so/v1/soEntitys/list.htm";
//订单详情
NSString* const KStoreOrderDetailURL =@"api/ec/so/v1/soEntitys/get.htm";
//取消订单
NSString* const KStoreCancelOrderURL =@"api/ec/so/v1/soEntitys/cancel.htm";
//确认收货
NSString* const KStoreConfirmReceiptURL =@"api/ec/so/v1/soEntitys/update.htm";


//评论列表
NSString* const KProductEvaluateListURL =@"api/ec/so/v1/saleReviews.htm";
//订单评论
NSString* const KUploadProductEvaluateURL =@"api/ec/so/v1/saleReviews.htm";


//发起退换货服务
NSString* const KStoreLaunchReturnURL =@"api/ec/so/v1/returnEntitys/add.htm";

//退换货申请原因
NSString* const KGetReturnReasonURL =@"api/biz/gl/v1/cates/lists.htm";

//退换货列表
NSString* const KGetAfterSaleListURL =@"api/ec/so/v1/returnEntitys/list.htm";
//退换货详情
NSString* const KAfterSaleDetailURL =@"api/ec/so/v1/returnEntitys/get.htm";
//用户退货
NSString* const KAfterSaleAddressAndsendURL =@"api/ec/so/v1/returnEntitys/updateAddr.htm";

//获取物流详情
NSString* const KLogisticsDetailURL =@"api/ec/so/v1/soEntitys/getExpressData.htm";

